/**
 * index
 * @authors 杨兴洲（of2502）
 * @date    2017/5/25 0025 10:18
 * @version 1.0
 * @last-modify  杨兴洲（of2502）
 */

import React, {Component} from 'react';
import {StoreProvider} from 'iflux2';
import AppStore from './store.js';
import KwReplyList from "./component/KwReplyList";
import FollowRuleItem from "./component/FollowRuleItem";
import {Tabs} from 'antd';
const TabPane = Tabs.TabPane;

@StoreProvider(AppStore)
export default class AppContainer extends Component {
    render() {
        return (
            <Tabs type="card" size="small">
                <TabPane tab="关键词回复" key="1">
                    <KwReplyList />
                </TabPane>
                <TabPane tab="关注后自动回复" key="2">
                    <FollowRuleItem />
                </TabPane>
                {/*<TabPane tab="消息托管" key="3"></TabPane>*/}
            </Tabs>
        )
    }
}